package Homework;

import java.util.Scanner;

public class Math2 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.println("请输入第一个数：");
		int a = input.nextInt();
		System.out.println("请输入第二个数：");
		int b = input.nextInt();
		int he = a + b;
		int cha = a - b;
		int ji = a * b;
		int shang = a / b;
		int yu = a % b;
		System.out.println("a+b=" + he);
		System.out.println("a-b=" + cha);
		System.out.println("a*b=" + ji);
		System.out.println("a/b=" + shang);
		System.out.println("a%b=" + yu);
	}
}
